package ch.fhnw.qualiscan.application.views;

import ch.fhnw.qualiscan.application.components.LoginBox;
import ch.fhnw.qualiscan.application.components.SignUpBox;
import ch.fhnw.qualiscan.core.View;
import eu.livotov.tpt.i18n.TM;
import eu.livotov.tpt.i18n.TranslatableCustomLayout;

@SuppressWarnings("serial")
public class StartView extends View {
	
	
	@Override
	public void initComponents() {
		componentsList.add(new LoginBox());
		componentsList.add(new SignUpBox());
	}
	
	@Override
	public void buildLayout() {
		addComponent(textHelper.h1(TM.get("start.title")));
	    //addComponent(textHelper.p(TM.get("start.desc")));
	    
	    TranslatableCustomLayout customLayout = new TranslatableCustomLayout("start-page");
	    customLayout.getMargin();
	    
	    addComponent(customLayout);
		
	}

	@Override
	public void reBuild() {
		// TODO Auto-generated method stub
		
	}

	
}
